package cn.liumouren.jzxd.dao;

import cn.liumouren.jzxd.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 
 * 
 * @author Freeman Liu
 * @email llw599502537@gmail.com
 * @date 2020-10-30 16:28:21
 */
@Mapper
public interface UserDao extends BaseMapper<User> {

    @Select("SELECT * FROM tb_user WHERE id = #{userId}")
    User getUserById(String userId);
}
